
'use strict';
const extend = require('extend');
const path = require('path');
const express = require('express');
const router = express.Router();
// const domain = 'http://www.keepright-pos.com:7474';
// const cardCode = 'WX81017315';
const request = require('request');
const xml2json = require('basic-xml2json');
const resUtil = require("../module/util/resUtil");
const reqUtil = require("../module/util/reqUtil");



router.get('/getResult', function(req, res, next) {
    console.log(11);
    console.log(req.query.eventId);
    let id = req.query.eventId;
    EventService.findById({},id)
        .then(function (data) {
            console.log(data);
        },function (data) {
            console.log(data);
        })
});
router.get('*', function(req, res, next) {
});



/* GET users listing. */

module.exports = router;